﻿using System.Collections.Generic;

namespace TestBat.IViewModels.Base
{
    public delegate void SelectionChangedEventHandler();

    public interface IComboBoxViewModel<VM, O> : IViewModel where VM : IComboBoxItemViewModel<O>
    {
        event SelectionChangedEventHandler SelectionChanged;

        IList<VM> Items { get; }
        VM SelectedItem { get; set; }

        void Reset();
    }
}
